stop bubbling

171

stop bubbling -

<body onclick="alert(`the bubbling doesn't reach here`)">
  <button onclick="event.stopPropagation()">Click me</button>
</body>

Comments

Submit
0 Comments